import requestClass from './request.js';
const request = new requestClass();

// 设置头像
export const saveAvatarApi = (paramsData) => {
	return request.put("/system/user/set/avatar", paramsData);
}

// 修改密码
export const editPasswordApi = (paramsData) => {
	return request.put("/system/user/edit/password", paramsData);
}

// 获取验证码
export const getPhoneCodeApi = (paramsData) => {
	return request.post(`/system/auth/get/verify/code`, paramsData);
}